package pl.lodz.p.model.enums;

import java.io.Serializable;

import javax.faces.bean.ManagedBean;
import javax.faces.model.SelectItem;

@ManagedBean
public class EnumBean implements Serializable {

	private static final long serialVersionUID = -9051404218048814969L;

	public Gender[] getGenderValues() {
		return Gender.values();
	}

	public Specialization[] getSpecializationValues() {
		return Specialization.values();
	}
	
	public Canal[] getCanals() {
		return Canal.values();
	}
	
	public AccountType[] getAccountTypes() {
		return AccountType.values();
	}
	
	public DayOfTheWeek[] getDayOfTheWeek(){
		return new DayOfTheWeek[]{DayOfTheWeek.MONDAY, DayOfTheWeek.TUESDAY, 
				DayOfTheWeek.WEDNESDAY, DayOfTheWeek.THURSDAY, 
				DayOfTheWeek.FRIDAY, DayOfTheWeek.SATURDAY, DayOfTheWeek.SUNDAY};
	}

}